﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="list.aspx.cs" Inherits="list" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>列表页</title>
    <link href="/css/main.css" rel="stylesheet" type="text/css" />
    <link href="/css/list.css" rel="stylesheet" type="text/css" />
    <link href="/css/then24.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="page">
        <!-- #include file="header.htm" -->
        <!-- slide -->
        <div class="unit">
            <div class="col">
                <div class="banner_slide ml10">
                    <%=bannerImages%>
                </div>
            </div>
        </div>
        <!-- path -->
        <div class="unit">
            <div class="col cur-path pt10 pb10">
                <div class="path-bg">
                    <div class="path-inbg">
                        <ul class="ll">
                            <li class="home"><a href="index.shtml">HOME</a></li>
                            <%=currentPosition %>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <!-- list -->
        <div class="unit">
            <div class="col">
                <div class="list-all">
                    <ul class="ll w110p">
                        <asp:Repeater ID="rptList" runat="server">
                            <ItemTemplate>
                                <li>
                                    <div>
                                        <a href='<%#Eval("CreateUrl")%>' target="_blank">
                                            <img src='<%#Eval("PicCoverUrl4") %>' alt="" /></a></div>
                                    <p class="b list-title">
                                        <a href='<%#Eval("CreateUrl")%>'>
                                            <%#Eval("ArticleTitle")%></a></p>
                                    <p class="list-links">
                                        <%#Eval("KeyWord")%>
                                    </p>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
            </div>
        </div>
        <!-- pagebar -->
        <div class="unit">
            <div class="col">
                <div class="pagebar tc mt20 mb30">
                    <%-- <span class="pagebar-btn">首 页</span> <span class="pagebar-btn">上一页</span> <span class="pagebar-current">
                        1</span> <a href="">2</a> <a href="">3</a> <a href="">4</a> . . . <span class="pagebar-btn">
                            下一页</span> <span class="pagebar-btn">尾 页</span>--%>
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" FirstPageText="首页" LastPageText="尾页"
                        NextPageText="下一页" PrevPageText="上一页" OnPageChanged="AspNetPager1_PageChanged"
                        PageSize="12">
                    </webdiyer:AspNetPager>
                </div>
            </div>
        </div>
        <!-- friend links -->
        <!-- #include file="friendlinks.htm" -->
        <!-- footer -->
        <!-- #include file="bottom.htm" -->
    </div>
    <script type="text/javascript" src="script/then.js" data-main="./script/list"></script>
    </form>
</body>
</html>
